<template>
  <div>
    <el-button @click="tomovediv()">移动div盒子</el-button>
    <el-button @click="tointokenajax()">加入token的请求</el-button>
    <el-button @click="tochatpage()">聊天页面</el-button>
    <el-button @click="tocesiumpage()">cesium页面</el-button>
    <el-button @click="tocivilpage()">民航页面</el-button>
    <el-button @click="todrawerpage()">drawer页面</el-button>
    <el-button @click="totest()">测试页面</el-button>
    
  </div>
</template>

<script>
export default {
  name: "Child",
  methods:{
    tomovediv(){
      this.$router.push({path:"/movediv"})
    },
    tointokenajax(){
      this.$router.push({path:"/intokenajax"})
    },
    tochatpage(){
      this.$router.push({path:"/login"})
    },
    totest(){
      this.$router.push({path:"/test"})
    },
    tocesiumpage(){
      this.$router.push({path:"/cesium"})
    },
    tocivilpage(){
      this.$router.push({path:"/civil"})
    },
    todrawerpage(){
      this.$router.push({path:"/drawerpage"})
    }
  }
};
</script>
<style scoped>
</style>
